package com.buba.livenuniappservernew.api.login.service;

import com.buba.livenuniappservernew.api.MemberUserManagement.entity.MemberUserManagement;
import com.buba.livenuniappservernew.common.CommonResult;

import java.util.Map;

public interface LoginService {
    /**
     * 发送验证码
     * @param map
     * @param phone
     * @return
     */
    Boolean send(Map map, String phone);
    /**
     * 手机号登录
     * @param memberUserManagement
     * @return
     */
    CommonResult userPhoneLogin(MemberUserManagement memberUserManagement);

    /**
     *用户账号密码登录
     * @param memberUserManagement
     * @return
     */
    CommonResult userPasswordLogin(MemberUserManagement memberUserManagement);
}
